import PushNotification from 'react-native-push-notification';

export default {
  localNotify(title: string, msg: string) {
    PushNotification.localNotification({
      channelId: 'Local',
      title: title,
      message: msg,
      playSound: true,
    });
  },
  remoteNotify(title: string, msg: string) {
    PushNotification.localNotification({
      channelId: 'Server',
      title: title,
      message: msg,
      playSound: true,
    });
  },
};
